<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class HomeController extends Controller
{
    public function index(Request $request)
    {
        $name = isset($request->member_info->name) ? $request->member_info->name : 'Tourist';
        return view('home',['name'=>$name]);
    }
}
